Issue #<%= @issue.local_id %> updated: <%= @comment.summary %>
Updated by: <%= @comment.user.display %><%= @comment.user.email ? ' <' + @comment.user.email + '>' : ''%>

<%= @comment.details %>

<%= @comment.attachments.size %> attachments
Issue Status: <%= @issue.status ? @issue.status.name : '' %>
Issue Priority: <%= @issue.priority ? @issue.priority.name : '' %>
<% @comment.issue_changes.each do |change| -%>
<% if change.is_a? IssueRefChange -%>
<%= change.changed_to_type.to_s %> changed<%= ' from "' + change.from.name + '"' unless change.from.nil? or change.from.name.empty? %><%= ' to "' + change.to.name + '"' unless change.to.nil? or change.to.name.empty?%>
<% elsif change.is_a? IssueAttrChange and change.attr =~ /tags/i -%>
Tags added: <%= change.to unless change.to.nil? or change.to.empty? %>
<% else -%>
<%
 from = truncate( change.from, 50 ) if change.from
 to = truncate( change.to, 50 ) if change.to
-%>
<%= change.attr.capitalize %> changed<%= ' from "' + from + '"' unless from.empty? %><%= ' to "' + to + '"' unless to.empty?%>
<% end -%>
<% end -%>
Link: <%= FLAWMILL_URL.chomp('/') + issue_path( @issue.project.name, @issue.local_id ) %>

--
FlawMill Issue Tracker
